<?php echo $this->Session->flash(); ?>
<div class="mb5"></div>
<?php echo $this->Form->create('User', array('action' => 'login','class'=>'form-validate')); ?>
<div class="logopanel">
    <h1><span>[</span> SA-FINANCIA <span>]</span></h1>
</div>
<div class="loginuser hide">
    <?php echo $this->Html->image('logUser.png'); ?>
</div>
<?php echo $this->Form->input("email" ,array('label' => false,'div' => false,'class'=>"form-control uname" ,"type"=>"text",'data-rule-required'=>"true",'data-rule-email'=>"false",'autocomplete'=>'off','placeholder'=>"Nome de Usuário" ))?>
<?php echo $this->Form->input("password" ,array("type"=>"password",'label' => false,'div' => false,'class'=>"form-control pword",'placeholder'=>"Senha",'data-rule-required'=>"true" ))?>
<a href="#"><small>Esqueceu sua Senha?</small></a>
<?php echo $this->Form->Button(__('LOGAR').' <span class="fa fa-chevron-right"></span>',array('class'=>'btn btn-primary btn-block','escape'=>false));?>
<?php echo $this->Form->end(); ?>
<script>
    document.getElementById("UserEmail").focus();
</script>